export default [
  // 获取权限
  {
    url: '/mock-api/v1/idt/org',
    type: 'get',
    response: () => {
      return {
        code: 200,
        msg: 'success',
        data: {
          count: 5,
          rows: [
            {
              id: 1,
              parentId: null,
              orgTypeId: 1,
              name: '总部',
              abbreviation: '总部',
              code: 'A0001',
              desc: null,
              orderNum: 0,
              createdAt: '2025-06-12 23:58:04',
              deletedAt: null,
              updatedAt: '2025-06-21 20:20:54',
              orgType: {
                id: 1,
                name: '真实组织',
                code: 'T001',
              },
            },
            {
              id: 2,
              parentId: 1,
              orgTypeId: 1,
              name: '华中总部',
              abbreviation: '华中总部',
              code: 'B0001',
              desc: null,
              orderNum: 0,
              createdAt: '2025-06-16 22:42:44',
              deletedAt: null,
              updatedAt: '2025-06-21 20:21:28',
              orgType: {
                id: 1,
                name: '真实组织',
                code: 'T001',
              },
            },
            {
              id: 3,
              parentId: 1,
              orgTypeId: 1,
              name: '华南总部',
              abbreviation: '华南总部',
              code: 'B0002',
              desc: null,
              orderNum: 0,
              createdAt: '2025-06-16 22:43:04',
              deletedAt: null,
              updatedAt: '2025-06-21 20:21:40',
              orgType: {
                id: 1,
                name: '真实组织',
                code: 'T001',
              },
            },
            {
              id: 4,
              parentId: 1,
              orgTypeId: 1,
              name: '华北总部',
              abbreviation: '华北总部',
              code: 'B0003',
              desc: null,
              orderNum: 0,
              createdAt: '2025-06-21 18:16:29',
              deletedAt: null,
              updatedAt: '2025-06-21 20:21:56',
              orgType: {
                id: 1,
                name: '真实组织',
                code: 'T001',
              },
            },
            {
              id: 5,
              parentId: 1,
              orgTypeId: 1,
              name: '华东总部',
              abbreviation: '华东总部',
              code: 'B0004',
              desc: null,
              orderNum: 0,
              createdAt: '2025-06-21 20:18:08',
              deletedAt: null,
              updatedAt: '2025-06-21 20:22:04',
              orgType: {
                id: 1,
                name: '真实组织',
                code: 'T001',
              },
            },
          ],
        },
      }
    },
  },
]
